home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cocktail / cg.lha / cg / test-m / printout < prev   
Text File  |  1992-11-24  |  453b  |  27 lines

  1. cg -a g.cg;
  2. Tree.mi: 13: closeINTEGER redefined
  3. echo p Main | mc -d ../../reuse/src
  4. Mocka 9201
  5. >> .. Compiling Definition of Tree
  6. .. Compiling Implementation of Tree
  7. .. Compiling Program Module Main
  8. .. Linking Main
  9. >> 
  10. Main
  11. + cmp a aa 
  12. + cmp b bb 
  13. + cmp a aaa 
  14. WriteOpen (a)
  15. ReadOpen (a)
  16. WriteOpen (b)
  17. ReadOpen (b)
  18. WriteOpen (aa)
  19. WriteOpen (bb)
  20. WriteOpen (aaa)
  21. should print:
  22. 1 2 3 4 5 4 3 5 2 1 
  23. 1 2 3 4 5 4 3 5 2 1 
  24. should print:
  25. 4 3 5 2 1 
  26. 4 3 5 2 1 
  27.